//
//  CTile.h
//  match2
//
//  Created by Tri Vo on 7/15/13.
//
//

#ifndef __match2__CTile__
#define __match2__CTile__

#include <iostream>
#include "GameController.h"

class CTile : public cc::CCMenuItemSprite, public cc::CCTargetedTouchDelegate  {
    
    
public:
    
    /*
                VARIABLES
     */
    
    /*
                CONSTRUCTORS & DESTUCTOR
     */
    ~CTile();
    
    static CTile* spriteWithFilename(const char* pNormalFilename, const char* pSelectedFilename, cc::CCObject* target, cocos2d::SEL_MenuHandler selector);  
    /*
                METHODS
     */
    CC_SYNTHESIZE(bool, _isSelected, IsSelected);
};

#endif /* defined(__match2__CTile__) */
